package com.karry.yl.service.baseinfo;


import com.baomidou.mybatisplus.plugins.Page;
import com.karry.commons.base.SuperService;
import com.karry.yl.domain.baseinfo.Bed;
import com.karry.yl.domain.elder.ElderlyBebs;

import java.util.List;
import java.util.Map;

public interface BedService extends SuperService<Bed> {

    Page<Bed> selectBedPage( Page<Bed> page, Long orgId,Long buildingId,String floor,Long roomId) ;

    int countByRoomId(Long roomId);

    void save(Bed bed);

    void update(Bed bed);

    void delete(List<Long> ids);

    void saveLsit(String floor,String code[],Long[] typeId,String type[],String roomId,String buildingId,Long orgId);

    List<Bed> selectBedListByBuidFloor(Bed bed);

    List<ElderlyBebs> selectBedsByRid(Bed bed);

    Bed selectBedById(Bed bed);
}
